package com.zjy.service.impl;

import com.zjy.mapper.UserMapper;
import com.zjy.pojo.User;
import com.zjy.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Zhengjz
 * @version 1.0
 * @className UserServiceimpl
 * @date 2021/1/10 14:23
 */
@Service
public class UserServiceimpl implements UserService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public User getName(String userName) {
        return userMapper.getName(userName);
    }
}
